package com.angel.service;

import java.util.List;
import com.angel.bean.EmployeeType;
public interface EmployeeTypeService{

    int insert(EmployeeType employeeType);

    int insertSelective(EmployeeType employeeType);

    int insertList(List<EmployeeType> employeeTypes);

    int update(EmployeeType employeeType);

    /**
     * 查询员工信息
     * @param employeeType 岗位
     * @return 岗位资源
     */
    List<EmployeeType> findEmployeeType(EmployeeType employeeType);


    /**
     * 查询单个岗位信息
     * @param employeeType
     * @return
     */
    EmployeeType findOneType(EmployeeType employeeType);


    /**
     * 删除岗位，只能通过岗位id删除
     * @param employeeType 存储员工岗位id
     * @return
     */
    int delEmployeeType(EmployeeType employeeType);
}
